package com.cy.cuiyang_admin.service.impl;

import com.cy.cuiyang_admin.dao.EmpDao;
import com.cy.cuiyang_admin.pojo.EmpEntity;
import com.cy.cuiyang_admin.service.SolrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

/**
 * @author cuiyang
 * @title: SolrServiceImpl
 * @projectName cuiyang_admin
 * @description: TODO
 * @date 2020/12/220:39
 */

@Service
public class SolrServiceImpl implements SolrService {

    @Autowired
    private EmpDao empDao;

    @Override
    public List<EmpEntity> addUser() {
        return empDao.select();
    }
}